<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>  
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'mytag.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  mytag
  <hr/>
 
  <form:form  commandName="myTagView"  action="./formMytag" >
  <form:input path="name" />
  
   <form:select path="selectValue"    items="${myFormSelect}" itemLabel="key" itemValue="value"  >
   
    </form:select>
   <form:select path="selectValue"    items="${myFormSelect}" itemLabel="key" itemValue="value"   SIZE="5"   >
   
    </form:select>
   <form:select path="selectValueCheck"    items="${myFormSelect}" itemLabel="key" itemValue="value"  multiple="multiple"  SIZE="10"   >
  </form:select>
  <hr/>
   <form:checkbox path="selectCheckboxs"  value="1" />1
   <form:checkbox path="selectCheckboxs"  value="2" />2
   <form:checkbox path="selectCheckboxs"  value="3" />3
   <form:checkbox path="selectCheckboxs"  value="4" />4
   <form:checkbox path="selectCheckboxs"  value="5" />5
   <form:checkbox path="selectCheckboxs"  value="6" />6
   <form:checkbox path="selectCheckboxs"  value="7" />7
 <hr/>
  <form:checkboxes  path="selectCheckboxs"  items="${myFormSelect}" itemLabel="key" itemValue="value"/>
  <hr/>
   <form:radiobutton path="selectRadiobutton"  value="10" />10
   <form:radiobutton path="selectRadiobutton"  value="20" />20
  
   <hr/>
  <form:radiobuttons path="selectRadiobutton"  items="${myFormSelect}" itemLabel="key" itemValue="value" />
    <hr/>

 
 <input type="submit" value="123">
 
  </form:form>
  
    <hr/>
  
  </body>
</html>
